package com.nbufe.domain.dto.predict;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author luzhiheng
 * @Date 2024/1/18 17:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ModelDto {

    /**
     * 数据列表
     */
    @NotEmpty
    private List<Double> data;

    /**
     * 自回归模型阶数
     */
    @NotNull
    private Integer order;

    /**
     * 预测年数
     */
    @NotNull
    private Integer futureYears;

}
